package cn.edu.scau.cmi.zenghaonan.chapter05;

public class Circular {
	Circle5_4 bottom;
	double height;
	Circular(Circle5_4 c,double h){
		bottom = c;
		height = h;
	}
	double getVolme() {
		return bottom.getArea() * height/3.0;
	}
	double getBottomRadius() {
		return bottom.getRadius();
	}
	public void setBottomRadius(double r) {
		bottom.setRadius(r);
	}
}
